<div data-role="page">

  <div data-role="header" data-position="inline">
    <h1>New <%= @image.title %></h1>
    <a href="<%= url_for :action => :index %>" class="ui-btn-left" data-icon="back" data-direction="reverse">
      Cancel
    </a>
  </div>

  <div data-role="content">
    <form method="POST" action="<%= url_for :action => :create %>">
      <input type="hidden" name="id" value="<%= @image.object %>"/>

      
          <div data-role="fieldcontain">
            <label for="image[image_uri]" class="fieldLabel">Image uri</label>
            <input type="text" id="image[image_uri]" name="image[image_uri]" <%= placeholder("Image uri") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="image[image_data]" class="fieldLabel">Image data</label>
            <input type="text" id="image[image_data]" name="image[image_data]" <%= placeholder("Image data") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="image[is_blob]" class="fieldLabel">Is blob</label>
            <input type="text" id="image[is_blob]" name="image[is_blob]" <%= placeholder("Is blob") %> />
          </div>
      

      <input type="submit" value="Create"/>
    </form>
  </div>

</div>
